package com.ellecity06.cwhiskymall.ui.shop9000

import com.ellecity06.common.base.view.IUiState
import com.ellecity06.cwhiskymall.bean.response.ConsumerRecordResponse

/**
 * @author ellecity06
 * @time 2024/10/29 16:41
 * @des
 */
sealed class Shop9000State : IUiState {

    data class RecordSuccess(val data: ConsumerRecordResponse) : Shop9000State()

    /**
     * 按钮状态修改
     */
    data class ChangeBtnState(val receiveStatus: Int) : Shop9000State()

    /**
     * 去消费
     */
    object ToShopping : Shop9000State()

    /**
     * 去弹窗确认
     */
    data class ShowAlear(val amount:String) : Shop9000State()
    data class ShowResult(val amount:String) : Shop9000State()

    object SubReceiveSuccess :Shop9000State()

    /**
     * contriLevelId 领取的贡献值id
     * amount 累计消费金额,
     * contribution 领取了多少的贡献金
     */
    data class ShowSelect(val contriLevelId:Int?,val amount:String,val contribution :String) : Shop9000State()

}
